package com.ruoyi.combat.domain.userlocation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 告警信息对象 combat_warn
 *
 * @author ruoyi
 * @date 2024-08-30
 */
@ApiModel("告警信息对象")
public class CombatWarn extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户表id */
    private Long useredId;

    /** 用户微博id */
    @Excel(name = "用户id")
    private String userid;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String username;

    /** 定位地点 */
    @Excel(name = "定位地点")
    private String locationPos;

    /** 定位依据 */
    @Excel(name = "定位依据")
    private String locationBasis;

    /** 定位纬度 */
    @Excel(name = "定位纬度")
    private String locationLat;

    /** 定位经度 */
    @Excel(name = "定位经度")
    private String locationLon;

    /** 泄露地点 */
    @Excel(name = "泄露地点")
    private String locationLeak;

    /** 泄露地点所在省 */
    @Excel(name = "泄露地点所在省")
    private String province;

    /** 泄露地点所在市 */
    @Excel(name = "泄露地点所在市")
    private String city;

    /** 风险处理状态 */
    @Excel(name = "风险处理状态")
    private String warnState;

    /** 博文id */
    @Excel(name = "博文id")
    private String blogId;

    private String checkResult;



    public Long getUseredId() {
        return useredId;
    }

    public void setUseredId(Long useredId) {
        this.useredId = useredId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setLocationPos(String locationPos) {
        this.locationPos = locationPos;
    }

    public String getLocationPos() {
        return locationPos;
    }

    public void setLocationBasis(String locationBasis) {
        this.locationBasis = locationBasis;
    }

    public String getLocationBasis() {
        return locationBasis;
    }

    public void setLocationLat(String locationLat) {
        this.locationLat = locationLat;
    }

    public String getLocationLat() {
        return locationLat;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public void setLocationLon(String locationLon) {
        this.locationLon = locationLon;
    }

    public String getLocationLon() {
        return locationLon;
    }

    public void setLocationLeak(String locationLeak) {
        this.locationLeak = locationLeak;
    }

    public String getLocationLeak() {
        return locationLeak;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getProvince() {
        return province;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCity() {
        return city;
    }

    public String getWarnState() {
        return warnState;
    }

    public void setWarnState(String warnState) {
        this.warnState = warnState;
    }

    public String getBlogId() {
        return blogId;
    }

    public void setBlogId(String blogId) {
        this.blogId = blogId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userid", getUserid())
                .append("username", getUsername())
                .append("locationPos", getLocationPos())
                .append("locationBasis", getLocationBasis())
                .append("locationLat", getLocationLat())
                .append("locationLon", getLocationLon())
                .append("locationLeak", getLocationLeak())
                .append("province", getProvince())
                .append("city", getCity())
                .append("warnState", getWarnState())
                .toString();
    }

    public CombatWarn() {
    }

    public CombatWarn(String userid, String username, String locationPos, String blogId,
                      String locationLat, String locationLon, String locationLeak,
                      String province, String city, String warnState) {
        this.userid = userid;
        this.username = username;
        this.locationPos = locationPos;
        this.blogId = blogId;
        this.locationLat = locationLat;
        this.locationLon = locationLon;
        this.locationLeak = locationLeak;
        this.province = province;
        this.city = city;
        this.warnState = warnState;
    }



}
